using statistics to determine sample size